package com.yomahub.liteflow.test.complex.cmp1;

import com.yomahub.liteflow.annotation.LiteflowComponent;
import com.yomahub.liteflow.annotation.LiteflowMethod;
import com.yomahub.liteflow.core.NodeComponent;
import com.yomahub.liteflow.enums.LiteFlowMethodEnum;
import com.yomahub.liteflow.enums.NodeTypeEnum;

@LiteflowComponent
public class CmpConfig1 {


    @LiteflowMethod(value = LiteFlowMethodEnum.PROCESS,nodeId = "A")
    public void processA(NodeComponent bindCmp) {

    }

    @LiteflowMethod(value = LiteFlowMethodEnum.PROCESS,nodeId = "B")
    public void processB(NodeComponent bindCmp) {

    }

    @LiteflowMethod(value = LiteFlowMethodEnum.PROCESS,nodeId = "C")
    public void processC(NodeComponent bindCmp) {

    }

    @LiteflowMethod(value = LiteFlowMethodEnum.PROCESS,nodeId = "D")
    public void processD(NodeComponent bindCmp) {

    }

    @LiteflowMethod(value = LiteFlowMethodEnum.PROCESS,nodeId = "E")
    public void processE(NodeComponent bindCmp) {

    }

    @LiteflowMethod(value = LiteFlowMethodEnum.PROCESS,nodeId = "F")
    public void processF(NodeComponent bindCmp) {

    }

    @LiteflowMethod(value = LiteFlowMethodEnum.PROCESS_SWITCH,nodeId = "G",nodeType = NodeTypeEnum.SWITCH)
    public String processSwitchG(NodeComponent bindCmp) throws Exception {
        return "t1";
    }

    @LiteflowMethod(value = LiteFlowMethodEnum.PROCESS,nodeId = "H")
    public void processH(NodeComponent bindCmp) {

    }

    @LiteflowMethod(value = LiteFlowMethodEnum.PROCESS,nodeId = "J")
    public void processJ(NodeComponent bindCmp) {

    }

    @LiteflowMethod(value = LiteFlowMethodEnum.PROCESS,nodeId = "K")
    public void processK(NodeComponent bindCmp) {

    }

    @LiteflowMethod(value = LiteFlowMethodEnum.PROCESS,nodeId = "L")
    public void processL(NodeComponent bindCmp) {

    }

    @LiteflowMethod(value = LiteFlowMethodEnum.PROCESS,nodeId = "M")
    public void processM(NodeComponent bindCmp) {

    }

    @LiteflowMethod(value = LiteFlowMethodEnum.PROCESS,nodeId = "N")
    public void processN(NodeComponent bindCmp) {

    }

    @LiteflowMethod(value = LiteFlowMethodEnum.PROCESS,nodeId = "Z")
    public void processZ(NodeComponent bindCmp) {

    }
}
